#ifndef UNIVERSITY_H
#define UNIVERSITY_H

#include <vector>
#include "Observer.h"
#include "Student.h"
using namespace std;


//University_t implements Singleton,Subject Design Patterns
class University_t : public Subject{
public:
	static University_t& getUniversity() {return uni;}

	void cancelLecture();

	void setPrice(int newPrice);

	int getPrice() const;
	
	
private:
	int price;

	static University_t uni;

	University_t(int price);

	~University_t(){};

	University_t& operator=(const University_t& rhs );

	University_t( const University_t& other );
};


#endif